package com.mtconnect.model;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Created by Administrator on 2017/8/3.
 */
public class Event implements Serializable {
    private String name;
    private Long sequence;
    private Timestamp timestamp;
    private String dataItemID;
    private String subType;
    private String assetType;
    private String value;

    @Override
    public String toString() {
        return "Event{" +
                "name='" + name + '\'' +
                ", sequence=" + sequence +
                ", timestamp=" + timestamp +
                ", dataItemID='" + dataItemID + '\'' +
                ", subTypeBySample='" + subType + '\'' +
                ", assetType='" + assetType + '\'' +
                ", value='" + value + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSequence() {
        return sequence;
    }

    public void setSequence(Long sequence) {
        this.sequence = sequence;
    }

    public Timestamp getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Timestamp timestamp) {
        this.timestamp = timestamp;
    }

    public String getDataItemID() {
        return dataItemID;
    }

    public void setDataItemID(String dataItemID) {
        this.dataItemID = dataItemID;
    }

    public String getSubType() {
        return subType;
    }

    public void setSubType(String subType) {
        this.subType = subType;
    }

    public String getAssetType() {
        return assetType;
    }

    public void setAssetType(String assetType) {
        this.assetType = assetType;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
